package com.my.wechat.domain.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sskj.core.entity.BaseEntity;

@Entity
@Table(name = "wx_Entity")
public class WeChatEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 设置微信公众号的appid
	 */
	private String appId;

	/**
	 * 设置微信公众号的app secret
	 */
	private String secret;

	/**
	 * 设置微信公众号的token
	 */
	private String token;

	/**
	 * 设置微信公众号的EncodingAESKey
	 */
	private String aesKey;

	/**
	 * 微信支付商户号
	 */
	private String mchId;

	/**
	 * 微信支付商户密钥
	 */
	private String mchKey;

	/**
	 * 服务商模式下的子商户公众账号ID，普通模式请不要配置，请在配置文件中将对应项删除
	 */
	private String subAppId;

	/**
	 * 服务商模式下的子商户号，普通模式请不要配置，最好是请在配置文件中将对应项删除
	 */
	private String subMchId;

	/**
	 * apiclient_cert.p12的文件的绝对路径
	 */
	private String keyPath;

	public String getAppId() {
		return appId;
	}

	public String getSecret() {
		return secret;
	}

	public String getToken() {
		return token;
	}

	public String getAesKey() {
		return aesKey;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public void setSecret(String secret) {
		this.secret = secret;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public void setAesKey(String aesKey) {
		this.aesKey = aesKey;
	}

	public String getMchId() {
		return mchId;
	}

	public String getMchKey() {
		return mchKey;
	}

	public String getSubAppId() {
		return subAppId;
	}

	public String getSubMchId() {
		return subMchId;
	}

	public String getKeyPath() {
		return keyPath;
	}

	public void setMchId(String mchId) {
		this.mchId = mchId;
	}

	public void setMchKey(String mchKey) {
		this.mchKey = mchKey;
	}

	public void setSubAppId(String subAppId) {
		this.subAppId = subAppId;
	}

	public void setSubMchId(String subMchId) {
		this.subMchId = subMchId;
	}

	public void setKeyPath(String keyPath) {
		this.keyPath = keyPath;
	}
}
